//
//  LJFSubjects.m
//  SevenZhou
//
//  Created by qianfeng on 15/9/14.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#import "LJFSubjects.h"

@implementation LJFSubjects

-(instancetype)initWithNsdictaryion:(NSDictionary *)dict
{
    if (self = [super init])
    {
        [self setValuesForKeysWithDictionary:dict];
        
        NSMutableArray *arrM = [[NSMutableArray alloc] init];
        
        for (NSDictionary *dic in _goods_list)
        {
            LJFScenicModel *model = [[LJFScenicModel alloc] initWithNsdictaryion:dic];
            
            [arrM addObject:model];
        }
        
        _goods_list = [NSArray arrayWithArray:arrM];
    }
    
    return self;
}

+(instancetype)SubjectsWithNsdictaryion:(NSDictionary *)dict
{
    return [[self alloc] initWithNsdictaryion:dict];
}

@end
